package com.wgo.surveyModel.domain.common.impl;
 	 
 import com.wgo.surveyModel.domain.common.impl.VesselImpl;
 import com.wgo.surveyModel.domain.common.Vessel;
 import com.wgo.surveyModel.domain.common.impl.StreamerImpl;
 import com.wgo.surveyModel.domain.common.Streamer;
 import com.wgo.surveyModel.domain.common.impl.StreamerSectionImpl;
 import com.wgo.surveyModel.domain.common.StreamerSection;
 import com.wgo.surveyModel.domain.common.impl.EquipmentImpl;
 import com.wgo.surveyModel.domain.common.Equipment;
 import com.wgo.surveyModel.domain.common.impl.SensorImpl;
 import com.wgo.surveyModel.domain.common.Sensor;
 import com.wgo.surveyModel.domain.common.impl.HydrophoneImpl;
 import com.wgo.surveyModel.domain.common.Hydrophone;
 import com.wgo.surveyModel.domain.common.impl.IRMAImpl;
 import com.wgo.surveyModel.domain.common.IRMA;
 import com.wgo.surveyModel.domain.common.impl.SurveyDefImpl;
 import com.wgo.surveyModel.domain.common.SurveyDef;
   
 public class DomainFactory
 {
	static int i = 0;
    public Vessel createVessel()
    {
    	VesselImpl v = new VesselImpl();
    	v.setDbId( new Long(i++));
    	return v;
     	//return new VesselImpl();
    }
    
    public Streamer createStreamer()
    {
     	return new StreamerImpl();
    }
    
    public StreamerSection createStreamerSection()
    {
     	return new StreamerSectionImpl();
    }
    
    public Equipment createEquipment()
    {
     	return new EquipmentImpl();
    }
    
    public Sensor createSensor()
    {
     	return new SensorImpl();
    }
    
    public Hydrophone createHydrophone()
    {
     	return new HydrophoneImpl();
    }
    
    public IRMA createIRMA()
    {
     	return new IRMAImpl();
    }
    
    public SurveyDef createSurveyDef()
    {
    	SurveyDefImpl s = new SurveyDefImpl();
    	s.setDbId(new Long(i++));
     	return new SurveyDefImpl();
    }
    
}
 